Skip to content

Conversation

@dgburr
Copy link
Contributor

@dgburr dgburr commented Oct 25, 2025

Description

Fix the "Generate artifacts" stage in CI by updating the templates used to generate https://github.com/swift-nav/libsbp/blob/master/rust/sbp/Cargo.toml and https://github.com/swift-nav/libsbp/blob/master/rust/sbp2json/Cargo.toml so that they will produce files which are equivalent to those already committed to git (in #1505).

This PR reverts ddf6363 (which was a previous attempt to fix this issue) as well as part of 0814cbc (which "updated" the .toml files to the incorrect versions).

API compatibility

Does this change introduce a API compatibility risk?

No

API compatibility plan

If the above is "Yes", please detail the compatibility (or migration) plan:

N/A

JIRA Reference

https://swift-nav.atlassian.net/browse/BOARD-XXXX

@dgburr dgburr requested a review from a team as a code owner October 25, 2025 03:23
@dgburr dgburr requested review from pcrumley and tzilist October 25, 2025 13:58
Copy link
Contributor

@pcrumley pcrumley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugh i was going crazy trying to figure out what was happening here! thank you for fixing this.

@dgburr dgburr enabled auto-merge (squash) October 28, 2025 23:42
@pcrumley pcrumley disabled auto-merge October 28, 2025 23:49
@dgburr
Copy link
Contributor Author

dgburr commented Oct 29, 2025

ugh i was going crazy trying to figure out what was happening here! thank you for fixing this.

@pcrumley: Is it okay with you if I revert #1525?

Copy link
Contributor

@Madhunika-atmakuri Madhunika-atmakuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dgburr I see the "Generate artifacts" stage is still failing? 🤔
Is this still a work in progress?

@dgburr
Copy link
Contributor Author

dgburr commented Oct 29, 2025

@dgburr I see the "Generate artifacts" stage is still failing? 🤔 Is this still a work in progress?

The commit #1525 from @pcrumley broke the build, so I am going to revert it

@dgburr dgburr requested a review from notoriaga as a code owner October 29, 2025 16:32
@sonarqubecloud
Copy link

Copy link
Contributor

@Madhunika-atmakuri Madhunika-atmakuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dgburr
I'm wondering about the formatting differences in rust during the release process, do you know if there is a version mismatch in what we are using during release? I don't have much knowledge about it and wondering if you can help me out on this.

@pcrumley
Copy link
Contributor

pcrumley commented Oct 29, 2025

@dgburr i don't understand how my commit could have broken the build? I don't care if you revert it but all it does it some cosmetic formatting in the rust code reverting a previous lint fix i had written and does a minor bump of a rust dependency.

There is something fishy about how this project is being built etc vs ci. That said. whatever gets it working is a-ok by me.

@dgburr
Copy link
Contributor Author

dgburr commented Oct 29, 2025

@dgburr i don't understand how my commit could have broken the build? I don't care if you revert it but all it does it some cosmetic formatting in the rust code reverting a previous lint fix i had written and does a minor bump of a rust dependency.

There is something fishy about how this project is being built etc vs ci. That said. whatever gets it working is a-ok by me.

@pcrumley: My previous statement was incorrect - it wasn't your commit which broke the build, but it was 0814cbc, which resulted in the .toml files and rust formatting to get overwritten with versions derived from the "bad" template.

@dgburr dgburr merged commit 717cc36 into master Oct 29, 2025
14 checks passed
@dgburr dgburr deleted the fix-rust branch October 29, 2025 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants